package org.domain;

public class Report {
	private int numberOfSalesMade;
	private int revenueGenerated;
	private String dateOfReport;
	
	public Report(String dateOfReport, int numberOfSalesMade, int revenueGenerated) {
		this.dateOfReport = dateOfReport;
		this.numberOfSalesMade = numberOfSalesMade;
		this.revenueGenerated = revenueGenerated;
	}

	public String getDateOfReport() {
		return dateOfReport;
	}
	
	public int getNumberOfSalesMade() {
		return numberOfSalesMade;
	}
	
	public int getRevenueGenerated() {
		return revenueGenerated;
	}
	
	public void print()
	{
		System.out.println("******SALES REPORT*******\n");
		System.out.println("Date : " + getDateOfReport() + "\n");
		System.out.println("The number of sales made today : " + getNumberOfSalesMade() + "\n");
		System.out.println("Revenue generated today : " + getRevenueGenerated() + "\n");
	}
}
